package com.ruoyi.web.plan.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 日报任务对象 duty
 *
 * @author ruoyi
 * @date 2025-01-30
 */
@Data
public class Duty extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long dutyId;

    /**
     * 日期时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dutyDate;


    @Excel(name = "项目id")
    private Long projectId;

    @Excel(name = "项目id")
    @TableField(exist = false)
    private String projectName;

    /**
     * 分组id
     */
    @Excel(name = "分组id")
    private Long moduleId;

    @Excel(name = "分组名称")
    @TableField(exist = false)
    private String moduleName;
    /**
     * 任务id
     */
    @Excel(name = "任务id")
    private Long taskId;

    @Excel(name = "任务名称")
    @TableField(exist = false)
    private String taskName;


    @Excel(name = "花费时间")
    private BigDecimal useTime;


    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    @Excel(name = "用户名字")
    @TableField(exist = false)
    private String userName;
    /**
     * 0未删除1删除
     */
    private String delFlag;


}
